package com.ruoyi.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 预警信息数据对象 BUS_WARN_WARNINFO
 * 
 * @author ruoyi
 * @date 2025-08-16
 */
public class BusWarnWarninfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键编号 */
    private String id;

    /** 断面id */
    @Excel(name = "断面id")
    private String segmentid;

    /** 断面名称 */
    @Excel(name = "断面名称")
    private String segmentname;

    /** 预警时间 */
    @Excel(name = "预警时间")
    private String warntime;

    private String sampleDate;

    /** 预警类型  1-相关性预警；2-持续超标 3-限值预警 4-持续恶化；5-监测项超标；6-断面超标；7-瞬时突变；8-达标差距；9-站点离线 */
    @Excel(name = "预警类型  1-相关性预警；2-持续超标 3-限值预警 4-持续恶化；5-监测项超标；6-断面超标；7-瞬时突变；8-达标差距；9-站点离线")
    private String warntype;

    private String warnTypeName;

    /** 预警级别  1-一级；2-二级；3-三级（一级最高依次降低） */
    @Excel(name = "预警级别  1-一级；2-二级；3-三级", readConverterExp = "一=级最高依次降低")
    private String warnlevel;

    private String warnLevelName;

    /** 报警因子id */
    @Excel(name = "报警因子id")
    private String itemid;

    /** 因子名称 */
    @Excel(name = "因子名称")
    private String itemname;

    /** 监测值 */
    @Excel(name = "监测值")
    private String monitoredvalue;

    /** 监测时间 */
    @Excel(name = "监测时间")
    private String sampletime;

    /** 预警内容 */
    @Excel(name = "预警内容")
    private String warnmessage;

    /** 预警状态 0-未处理 1-处理中 2-已处理 3-已关闭 */
    @Excel(name = "预警状态 0-未处理 1-处理中 2-已处理 3-已关闭")
    private String processingstate;

    /** 处理人员 */
    @Excel(name = "处理人员")
    private String userid;

    /** 任务id（跟处理流程关联）（不再使用） */
    @Excel(name = "任务id", readConverterExp = "跟=处理流程关联")
    private String taskid;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String warnbegintime;

    /** 预测id */
    @Excel(name = "预测id")
    private String forecastid;

    /** 处置步骤 */
    @Excel(name = "处置步骤")
    private String disposalprocedure;

    /** 处置情况 */
    @Excel(name = "处置情况")
    private String disposalsituation;

    /** 预警类别 1-水环境 2-视频 3-在线监测 */
    @Excel(name = "预警类别 1-水环境 2-视频 3-在线监测")
    private String warncategory;

    /** 附件 */
    @Excel(name = "附件")
    private String attachments;

    /** 行政区划 */
    @Excel(name = "行政区划")
    private String regioncode;

    /**
     * 管控建议
     */
    private String controlSuggestions;


    private String beginTime;

    private String endTime;

    private List<String> AttachmentsList;

    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setSegmentid(String segmentid) 
    {
        this.segmentid = segmentid;
    }

    public String getSegmentid() 
    {
        return segmentid;
    }

    public void setSegmentname(String segmentname) 
    {
        this.segmentname = segmentname;
    }

    public String getSegmentname() 
    {
        return segmentname;
    }

    public void setWarntime(String warntime) 
    {
        this.warntime = warntime;
    }

    public String getWarntime() 
    {
        return warntime;
    }

    public void setWarntype(String warntype) 
    {
        this.warntype = warntype;
    }

    public String getWarntype() 
    {
        return warntype;
    }

    public void setWarnlevel(String warnlevel) 
    {
        this.warnlevel = warnlevel;
    }

    public String getWarnlevel() 
    {
        return warnlevel;
    }

    public void setItemid(String itemid) 
    {
        this.itemid = itemid;
    }

    public String getItemid() 
    {
        return itemid;
    }

    public void setItemname(String itemname) 
    {
        this.itemname = itemname;
    }

    public String getItemname() 
    {
        return itemname;
    }

    public void setMonitoredvalue(String monitoredvalue) 
    {
        this.monitoredvalue = monitoredvalue;
    }

    public String getMonitoredvalue() 
    {
        return monitoredvalue;
    }

    public void setSampletime(String sampletime) 
    {
        this.sampletime = sampletime;
    }

    public String getSampletime() 
    {
        return sampletime;
    }

    public void setWarnmessage(String warnmessage) 
    {
        this.warnmessage = warnmessage;
    }

    public String getWarnmessage() 
    {
        return warnmessage;
    }

    public void setProcessingstate(String processingstate) 
    {
        this.processingstate = processingstate;
    }

    public String getProcessingstate() 
    {
        return processingstate;
    }

    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }

    public void setTaskid(String taskid) 
    {
        this.taskid = taskid;
    }

    public String getTaskid() 
    {
        return taskid;
    }

    public void setWarnbegintime(String warnbegintime) 
    {
        this.warnbegintime = warnbegintime;
    }

    public String getWarnbegintime() 
    {
        return warnbegintime;
    }

    public void setForecastid(String forecastid) 
    {
        this.forecastid = forecastid;
    }

    public String getForecastid() 
    {
        return forecastid;
    }

    public void setDisposalprocedure(String disposalprocedure) 
    {
        this.disposalprocedure = disposalprocedure;
    }

    public String getDisposalprocedure() 
    {
        return disposalprocedure;
    }

    public void setDisposalsituation(String disposalsituation) 
    {
        this.disposalsituation = disposalsituation;
    }

    public String getDisposalsituation() 
    {
        return disposalsituation;
    }

    public void setWarncategory(String warncategory) 
    {
        this.warncategory = warncategory;
    }

    public String getWarncategory() 
    {
        return warncategory;
    }

    public void setAttachments(String attachments) 
    {
        this.attachments = attachments;
    }

    public String getAttachments() 
    {
        return attachments;
    }

    public void setRegioncode(String regioncode) 
    {
        this.regioncode = regioncode;
    }

    public String getRegioncode() 
    {
        return regioncode;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getWarnTypeName() {
        return warnTypeName;
    }

    public void setWarnTypeName(String warnTypeName) {
        this.warnTypeName = warnTypeName;
    }

    public String getWarnLevelName() {
        return warnLevelName;
    }

    public void setWarnLevelName(String warnLevelName) {
        this.warnLevelName = warnLevelName;
    }

    public String getSampleDate() {
        return sampleDate;
    }

    public void setSampleDate(String sampleDate) {
        this.sampleDate = sampleDate;
    }

    public List<String> getAttachmentsList() {
        return AttachmentsList;
    }

    public void setAttachmentsList(List<String> attachmentsList) {
        AttachmentsList = attachmentsList;
    }

    public String getControlSuggestions() {
        return controlSuggestions;
    }

    public void setControlSuggestions(String controlSuggestions) {
        this.controlSuggestions = controlSuggestions;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("segmentid", getSegmentid())
            .append("segmentname", getSegmentname())
            .append("warntime", getWarntime())
            .append("warntype", getWarntype())
            .append("warnlevel", getWarnlevel())
            .append("itemid", getItemid())
            .append("itemname", getItemname())
            .append("monitoredvalue", getMonitoredvalue())
            .append("sampletime", getSampletime())
            .append("warnmessage", getWarnmessage())
            .append("processingstate", getProcessingstate())
            .append("userid", getUserid())
            .append("taskid", getTaskid())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("warnbegintime", getWarnbegintime())
            .append("forecastid", getForecastid())
            .append("disposalprocedure", getDisposalprocedure())
            .append("disposalsituation", getDisposalsituation())
            .append("warncategory", getWarncategory())
            .append("attachments", getAttachments())
            .append("regioncode", getRegioncode())
            .toString();
    }
}
